import { axios } from '@/utils/request'

export function login(parameter) {
  return axios({
    url: '/login',
    method: 'post',
    data: parameter,
  })
}

export function logout(param) {
  return axios({
    url: '/logout',
    method: 'get',
    params: param,
  })
}

export function getLoginUser(params) {
  return axios({
    url: '/getLoginUser',
    method: 'get',
    params: params,
  })
}
